﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%HtmlBlock method = "processList"; %>
	<%Conditional on="Depth==0"; %>
	<div class="articlebox0">
		<div class="title"><asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/></div>
		<div class="mediaArea">
			<asp:HyperLink ID="primaryPicture_name" runat="server" ImageUrl="/$mediaCacheName$/$imageRes$/$primaryPicture.name$" 
				EnableViewState="false"  NavigateUrl="$navLink$"/>
		</div>
	</div>
	<%EndConditional; %>
	<%Conditional on="Depth==1"; %>
	<div class="articlebox1" >
		<div class="title"><asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/></div>
		<div class="summary"><swf:ReadOnlyText ID="summary" runat="server"  Width="90%"/></div>
	</div>	
	<%EndConditional; %>
<%EndHtmlBlock; %>
